/*
package com.jiyun;

import cn.jiyun.App;
import cn.jiyun.pojo.Users;
import cn.jiyun.service.UsersService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.List;

@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = {App.class})
public class test {

    @Autowired
    private UsersService usersService;

    @Test
    public void testAddUser(){
        Users users = new Users();
        users.setId(2);
        users.setName("会敏");
        users.setPwd("111");
        users.setSex("1");
        users.setBirthday("1999-01-01");
        this.usersService.add(users);
    }
    @Test
    public void findAll(){
        List<Users> all = usersService.findAll();
        System.out.println(all);
    }
}
*/
